package com.yh.pojo;

import lombok.Data;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

/**
 * @author by 张晨光
 * @date 2023/11/6 9:11
 */
@Data
public class Role {
    private String id;
    private String roleName;
    private String roleDesc;
    //1:N
    private List<Permission> permissions;
    //UseInfo:1：N;
    private List<UserInfo> users;
}
